package com.huang.manage.service.impl.imp;

import com.easemob.im.server.model.EMUser;
import com.huang.entity.result.HStringResult;
import com.huang.manage.service.impl.TestService;
import com.swinboo.im.client.EMUserClient;
import com.swinboo.im.client.IMClient;
import com.swinboo.im.integration.EMUserIntegration;
import com.swinboo.im.integration.IMIntegration;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Swinboo
 * @date 2022-03-13 12:18
 * @description:
 */
@Service
public class TestServiceImpl implements TestService {

    @Resource(name = IMIntegration.BEAN_NAME)
    private IMClient imClient;

    @Resource(name = EMUserIntegration.BEAN_NAME)
    private EMUserClient emUserClient;



  @Override
    public String test() {
        return null;
    }

    @Override
    public String test2() {
        return imClient.test("test").getData();
    }
}
